package com.dragon.mmochat.model.enumType;

public enum MmochatPkTeamMemberType {
	队长(0), 成员(1);

	int value;

	MmochatPkTeamMemberType(int v) {
		value = v;
	}

	public int getValue() {
		return value;
	}

	public static MmochatPkTeamMemberType get(int value) {
		for (MmochatPkTeamMemberType type : MmochatPkTeamMemberType.values()) {
			if (type.getValue() == value) {
				return type;
			}
		}
		return null;
	}
}
